package com.wxzz.elearing.file;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@EnableScheduling
@EnableFeignClients
@SpringBootApplication(scanBasePackages = "com.wxzz.*",exclude = {DataSourceAutoConfiguration.class})//扫描工具类的包 //屏蔽数据源自动加载
@EnableSwagger2
public class FileApp {

    public static void main(String[] args) {
        SpringApplication.run(FileApp.class);
    }
}
